#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.61)
AC_INIT([LIBPG], [1.0], [smathews@itkgp.ac.in])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AC_CONFIG_HEADER([config.h])

# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
AC_PROG_RANLIB

# Checks for libraries.

# Checks for header files.

# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_CONST

# Checks for library functions.
PKG_CHECK_MODULES([libxmlpp], libxml++-2.6 >= 2.10.0)
AC_SUBST(libxmlpp_CFLAGS)
AC_SUBST(libxmlpp_LIBS)

AC_CONFIG_FILES([
	Makefile
	src/Makefile
	UnitTest++/Makefile
	tests/Makefile
])
AC_OUTPUT
